//
// RPCData.hpp
// ~~~~~~~~~
//
// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//

#pragma once
#include <cstdint>
#include <string>
#include <vector>

namespace UTILS {

/// Structure to hold information about a single RPCData.
struct RPCData {
  uint32_t code;
  std::string data;

  template <typename Archive>
  void serialize(Archive &ar, const unsigned int version) {
    ar &code;
    ar &data;
  }
};

} // namespace UTILS
